export const useGuard = (router) => {
  // 路由守卫
  router.beforeEach(() => {})

  router.afterEach((to) => {
    document.title = import.meta.env.VITE_APP_TITLE + ` | ${to.meta.title || ''}`
  })
}
